<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>cbp2make: src/cbglobalvar.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">cbp2make
   </div>
   <div id="projectbrief">Makefile generation tool for Code::Blocks IDE</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">cbglobalvar.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../dd/d72/cbglobalvar_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    cbp2make : Makefile generation tool for the Code::Blocks IDE</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">    Copyright (C) 2010-2013 Mirai Computing (mirai.computing@gmail.com)</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">    This program is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">    (at your option) any later version.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">    GNU General Public License for more details.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">    You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#ifndef CBGLOBALVAR_H</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CBGLOBALVAR_H</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor"></span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="../../d0/d3c/stlstrings_8h.html">stlstrings.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="../../d7/d5e/stlconfig_8h.html">stlconfig.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">class </span>TiXmlElement;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">class </span><a class="code" href="../../d6/dbd/classCGlobalVariableSet.html" title="Manages a set of global compiler variables. ">CGlobalVariableSet</a>;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html">   30</a></span>&#160;<span class="keyword">class </span><a class="code" href="../../dc/dcc/classCGlobalVariable.html" title="Contains properties of global compiler variables. ">CGlobalVariable</a></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;{</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#ae2e71db4b7f7a5c0dec2c97cf6186fc9">   33</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#ae2e71db4b7f7a5c0dec2c97cf6186fc9" title="Name of the variable. ">m_Name</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#a5fcfab7b98ac6eac8ef6fcabe29e57c9">   34</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a5fcfab7b98ac6eac8ef6fcabe29e57c9" title="Description of the variable. ">m_Description</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;  <span class="comment">// standard fields</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#a5b9003628abc6731b802f8991e5d8e0f">   36</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a5b9003628abc6731b802f8991e5d8e0f" title="Value of the built-in default field of the variable. ">m_Base</a>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#a31bf0d3eb6a89b83810c14014da3da4b">   37</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a31bf0d3eb6a89b83810c14014da3da4b" title="Value of the built-in &quot;Include&quot; field of the variable. ">m_Include</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#acea43fe8f3fb15c77a8853259acb713e">   38</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#acea43fe8f3fb15c77a8853259acb713e" title="Value of the built-in &quot;Lib&quot; field of the variable. ">m_Lib</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#ac9845f5df77a0ec9e99d139b298ff7b5">   39</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#ac9845f5df77a0ec9e99d139b298ff7b5" title="Value of the built-in &quot;Obj&quot; field of the variable. ">m_Obj</a>;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#a43dab168ec93f8d99a585b266c4db5d4">   40</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a43dab168ec93f8d99a585b266c4db5d4" title="Value of the built-in &quot;Cflags&quot; field of the variable. ">m_Cflags</a>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#a2a7041fe1f22113872e9ca4d91a65889">   41</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a2a7041fe1f22113872e9ca4d91a65889" title="Value of the built-in &quot;Lflags&quot; field of the variable. ">m_Lflags</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;  <span class="comment">// user fields</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#a3dddbf794ac1de89bddcc79f2e645e55">   43</a></span>&#160;  <a class="code" href="../../dc/d01/classCConfiguration.html">CConfiguration</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a3dddbf794ac1de89bddcc79f2e645e55" title="User-defined fields of the global compiler variable. ">m_Fields</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#ad969569563c43f2e531048f12680e86b">   45</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../dc/dcc/classCGlobalVariable.html#ad969569563c43f2e531048f12680e86b" title="Name of the variable. ">Name</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#ae2e71db4b7f7a5c0dec2c97cf6186fc9" title="Name of the variable. ">m_Name</a>; }</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#a8b5f004ada72bf8a6a385201eca1bcec">   46</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a8b5f004ada72bf8a6a385201eca1bcec" title="Description of the variable. ">Description</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a5fcfab7b98ac6eac8ef6fcabe29e57c9" title="Description of the variable. ">m_Description</a>; }</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a>  <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a343f767d0e98936bd987fe5543cc5136" title="Value of the built-in default field of the variable. ">Base</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a>  <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a38ea7ccde81095a5db6574b741eab786" title="Value of the built-in &quot;Include&quot; field of the variable. ">Include</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a>  <a class="code" href="../../dc/dcc/classCGlobalVariable.html#adb642bd9f4c1d2ccd80f1bb494b59a94" title="Value of the built-in &quot;Lib&quot; field of the variable. ">Lib</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#aee635a839635b27b1368b4f0db4d3a66">   50</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../dc/dcc/classCGlobalVariable.html#aee635a839635b27b1368b4f0db4d3a66" title="Value of the built-in &quot;Obj&quot; field of the variable. ">Obj</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#ac9845f5df77a0ec9e99d139b298ff7b5" title="Value of the built-in &quot;Obj&quot; field of the variable. ">m_Obj</a>; }</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#a821dc587f962c31dddf011fb6a0f2844">   51</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a821dc587f962c31dddf011fb6a0f2844" title="Value of the built-in &quot;Cflags&quot; field of the variable. ">Cflags</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a43dab168ec93f8d99a585b266c4db5d4" title="Value of the built-in &quot;Cflags&quot; field of the variable. ">m_Cflags</a>; }</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="../../dc/dcc/classCGlobalVariable.html#a3c456bc6db79d58a9e0f02c43e31bb7d">   52</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a3c456bc6db79d58a9e0f02c43e31bb7d" title="Value of the built-in &quot;Lflags&quot; field of the variable. ">Lflags</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a2a7041fe1f22113872e9ca4d91a65889" title="Value of the built-in &quot;Lflags&quot; field of the variable. ">m_Lflags</a>; }</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;  <span class="keyword">static</span> <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a1a19ed995e8d12071334da52ae47bbba">Convert</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Value, <span class="keyword">const</span> <span class="keywordtype">int</span> Case = 0);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#aec353078fad015a6ebba488f11284fd2" title="Returns number of user-defined fields. ">Count</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#ac5b28d50dfcb1ef7151809c7aa5803d4" title="Returns name of user-defined field. ">GetField</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> Index);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#ae9ea3bf58582375986c1a36262299e0f" title="Returns value of user-defined field. ">GetValue</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> Index);</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a32fc9ddac4defdd28a04dd9072f487c5" title="Resets the global compiler variable to the initial state. ">Clear</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a0261d0ff3fbc60da39d8aa37c92fbd37" title="Adds new user-defined field. ">Add</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../dc/dcc/classCGlobalVariable.html#ad969569563c43f2e531048f12680e86b" title="Name of the variable. ">Name</a>, <span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Value);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a650887d53d1edd59dc2a22871d5fc563" title="Removes user-defined field. ">Remove</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../dc/dcc/classCGlobalVariable.html#ad969569563c43f2e531048f12680e86b" title="Name of the variable. ">Name</a>);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a78b75495505a8ffc5dd97b6fa364dff4" title="Reads the global variable settings from an XML document. ">Read</a>(<span class="keyword">const</span> TiXmlElement *GlobalVariableRoot);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a3ce7991ab6c5a69083db7f72020c2f14" title="Writes the global variable settings to an XML document. ">Write</a>(TiXmlElement *GlobalVariableRoot);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a82a023e4410cc2ad2261faf0024925f3" title="Prints the global compiler variable contents to standard output. ">Show</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <a class="code" href="../../dc/dcc/classCGlobalVariable.html#a38fcc9740f5bff89ec925d4a28642be3" title="Creates global compiler variable. ">CGlobalVariable</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  <a class="code" href="../../dc/dcc/classCGlobalVariable.html#abad0e58f8362841438da31bd7503eb04" title="Destroys global compiler variable. ">~CGlobalVariable</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;};</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="../../d6/dbd/classCGlobalVariableSet.html">   69</a></span>&#160;<span class="keyword">class </span><a class="code" href="../../d6/dbd/classCGlobalVariableSet.html" title="Manages a set of global compiler variables. ">CGlobalVariableSet</a></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;{</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#ac843c7965c6986d37b163b82250de04c">   72</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a> <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#ac843c7965c6986d37b163b82250de04c" title="Name of the variable set. ">m_Name</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#ab9e5a9983873c06218132833a870e36a">   73</a></span>&#160;  std::vector&lt;CGlobalVariable *&gt; <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#ab9e5a9983873c06218132833a870e36a" title="List of global compiler variables. ">m_Variables</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a3505dd291a7e3ed49faef044b74212ea">   74</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a3505dd291a7e3ed49faef044b74212ea" title="Indicates that this variable set should be defined in makefile. ">m_Active</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  <span class="comment">//bool m_HaveDefaults;</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a08cc77bcf9fecf6174d6bbd79802f80b">   77</a></span>&#160;  <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a08cc77bcf9fecf6174d6bbd79802f80b" title="Name of the set. ">Name</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#ac843c7965c6986d37b163b82250de04c" title="Name of the variable set. ">m_Name</a>; }</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a55f9272b39b01f1f0ade66d14f49034d">   78</a></span>&#160;  <span class="keywordtype">bool</span>&amp; <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a55f9272b39b01f1f0ade66d14f49034d" title="Indicates that this variable set should be defined in makefile. ">Active</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a3505dd291a7e3ed49faef044b74212ea" title="Indicates that this variable set should be defined in makefile. ">m_Active</a>; }</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a85890fb1e0b1c7de66ed355d47ca824a" title="Resets the set of variables to the initial state. ">Clear</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#ad7aa174d238f1824bbcc5839437930ab">   81</a></span>&#160;  <span class="keywordtype">size_t</span> <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#ad7aa174d238f1824bbcc5839437930ab" title="Returns number of variables. ">Count</a>(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#ab9e5a9983873c06218132833a870e36a" title="List of global compiler variables. ">m_Variables</a>.size(); };</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  <a class="code" href="../../dc/dcc/classCGlobalVariable.html" title="Contains properties of global compiler variables. ">CGlobalVariable</a> *<a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a54743acad682825eb65daeb7ac011745" title="Returns a variable by index. ">Get</a>(<span class="keyword">const</span> <span class="keywordtype">size_t</span> Index);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <a class="code" href="../../dc/dcc/classCGlobalVariable.html" title="Contains properties of global compiler variables. ">CGlobalVariable</a> *<a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#ae9a1594a776f6180d2a60e7193a56fc6" title="Returns a variable by name. ">Find</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a08cc77bcf9fecf6174d6bbd79802f80b" title="Name of the set. ">Name</a>);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <a class="code" href="../../dc/dcc/classCGlobalVariable.html" title="Contains properties of global compiler variables. ">CGlobalVariable</a> *<a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a603f5fe8300989991baf8688c8fbf38e" title="Adds new variable with name Name and description Description. ">Add</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a08cc77bcf9fecf6174d6bbd79802f80b" title="Name of the set. ">Name</a>, <span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Description = <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a3bcfe5c42e32f6aa7fd9f1fbb032e1dd" title="Removes variable with name Name. ">Remove</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a08cc77bcf9fecf6174d6bbd79802f80b" title="Name of the set. ">Name</a>);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#aed6a2a2e0211b5c7ff2a8b27dfcfc3db" title="Reads the global variable set settings from an XML document. ">Read</a>(<span class="keyword">const</span> TiXmlElement *GlobalVariableSetRoot);</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#aa2ffbccce40889ce4ee3d9f47195d5b1" title="Writes the global variable set settings to an XML document. ">Write</a>(TiXmlElement *GlobalVariableSetRoot);</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#aadcb96f0e337b4102a864af282d97ce8" title="Prints the global compiler variable set contents to standard output. ">Show</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;  <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#a13c8d52e689d92bcafca84167fc8a4c0" title="Creates global compiler variable set. ">CGlobalVariableSet</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html#ab03bd8020475f2bb341dbc82ec9d0837" title="Destroys global compiler variable set. ">~CGlobalVariableSet</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;};</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="../../de/d44/classCGlobalVariableConfig.html">   94</a></span>&#160;<span class="keyword">class </span><a class="code" href="../../de/d44/classCGlobalVariableConfig.html" title="Manages global compiler variables configuration. ">CGlobalVariableConfig</a></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;{</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a19fe97fb18fa079b3f8398fd9c75e46e">   97</a></span>&#160;  std::vector&lt;CGlobalVariableSet *&gt; <a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a19fe97fb18fa079b3f8398fd9c75e46e" title="List of variable sets. ">m_VariableSets</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a025623c448640d52acf1e54b2d5ea351" title="Resets the configuration to the initial state. ">Clear</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a825f60c73564353fa46bea8a5db44a81">  101</a></span>&#160;  <span class="keywordtype">size_t</span> <a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a825f60c73564353fa46bea8a5db44a81" title="Returns the number of variable sets in configuration. ">Count</a>(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a19fe97fb18fa079b3f8398fd9c75e46e" title="List of variable sets. ">m_VariableSets</a>.size(); };</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html" title="Manages a set of global compiler variables. ">CGlobalVariableSet</a> *<a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a19cdea45eda20720b16ea953de9b4f96" title="Returns a set of variables by index. ">Get</a>(<span class="keyword">const</span> <span class="keywordtype">size_t</span> Index);</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html" title="Manages a set of global compiler variables. ">CGlobalVariableSet</a> *<a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a7f25689ffb6f29407d5036284eb2d3b2" title="Returns a set of variables by name. ">Find</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Name);</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <a class="code" href="../../d6/dbd/classCGlobalVariableSet.html" title="Manages a set of global compiler variables. ">CGlobalVariableSet</a> *<a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a19cb59443e659ede0e870a156519c1eb" title="Adds new set of global compiler variables. ">Add</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Name);</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a5e35aeefba0d66385508454896a274fb" title="Adds the &#39;default&#39; set of variables. ">AddDefault</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a1ccd44e97ef79a815e9409ea6b7eb2cd" title="Removes a set of variables. ">Remove</a>(<span class="keyword">const</span> <a class="code" href="../../d7/da9/classCString.html">CString</a>&amp; Name);</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a090f07dc4c04440e0c2179806ea11550" title="Reads the global compiler variable configuration from an XML document. ">Read</a>(<span class="keyword">const</span> TiXmlElement *GlobalVariableConfigRoot);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a0d2b06679de9b11ed462d6d7ca5fd0c3" title="Writes the global compiler variable configuration to an XML document. ">Write</a>(TiXmlElement *GlobalVariableConfigRoot);</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a4c969184dff8036ffb7f4d3064807de0" title="Prints the global compiler variable configuration contents to standard output. ">Show</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  <a class="code" href="../../de/d44/classCGlobalVariableConfig.html#a1b2d3082e5c01f53abe7ad0d98a587e6" title="Creates global compiler variable configuration. ">CGlobalVariableConfig</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  <a class="code" href="../../de/d44/classCGlobalVariableConfig.html#af745031486e56f2c599fe629097e5de1" title="Destroys global compiler variable configuration. ">~CGlobalVariableConfig</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;};</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="preprocessor"></span><span class="comment">//------------------------------------------------------------------------------</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Jun 9 2013 10:55:52 for cbp2make by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
